package chp03.homework;

public class Home6 {
    public static void main(String[] args) {
        int a = 100;
        int b = 98;
        int c = 55;

        int temp = 0;
        //经过运算
        if(a > b){
            //交换a,b
            temp = a;
            a = b;
            b = temp;
        }
        if(b > c){
            temp = b;
            b = c;
            c = temp;
        }
        if(a > b){
            //交换a,b
            temp = a;
            a = b;
            b = temp;
        }

        System.out.println(a);
        System.out.println(b);
        System.out.println(c);

    }
}
